package com.example.osixaffairssystem.service;


import com.example.osixaffairssystem.domain.PageBean;
import com.example.osixaffairssystem.domain.model.Course;

import java.util.List;

public interface CourseService {

    List<Course> list();

    PageBean<Course> listToPage(Integer page, Integer pageSize);

    Integer insert(Course course);

    void update(Course course);

    void delete(List<Integer> ids);
}
